#ifndef WIREITEM_H
#define WIREITEM_H

#include <QGraphicsPathItem>

class Wire : public QGraphicsPathItem
{
public:
    explicit Wire(const QPointF &start, const QPointF &end, QGraphicsItem *parent = nullptr);

    void setColor(const QColor &color);

private:
    void createPath(const QPointF &start, const QPointF &end);
};

#endif // WIREITEM_H
